import { TimeRange } from "@/utils"

export interface IResponseItem {
	id: string
	merchantId: string
	userId: string
	userName: string
	proxyLevel: number
	accountType: number
	auditNum: string
	applyName: string
	applyTime: string
	applyInfo: string
	auditStatus: number
	auditName: string | null
	lockId: string | null
	auditTime: string | null
	lockDatetime: string | null
	lockOrder: number
	auditRemark: string | null
	proxyLevelName: string
	parentProxyName: string | null
	rebateContractId: string | null
	commissionContractId: string | null
	maxLevels: number
	rebatePolicyTypeId: string | null
	commissionPolicyTypeId: string | null
	commissionModel: number
	rebateAllotMode: string | null
	businessModel: number
}

export interface IQueryListParams {
	auditStatus?: string
	lockOrder?: number
	applyName?: string
	auditName?: string
	auditNum?: string
	userName?: string
	merchantId?: string
	applyTimeStart?: string
	applyTimeEnd?: string
	auditTimeStart?: string
	auditTimeEnd?: string
	pageNum?: number
	pageSize?: number
	applyTime?: TimeRange | undefined
	auditTime?: TimeRange | undefined
}
